<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/page/common/public.jspf"%>
<%@ page import="com.hengpeng.itfints.tools.PageUtil"%>
<%
	PageUtil pageUtil = (PageUtil) request.getAttribute("PageUtil");
%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="${skin}/v1.min.css?v=${v}" />
<link rel="stylesheet" type="text/css" href="${skin}/index.css?v=${v}" />
<link rel="stylesheet" type="text/css"
	href="${skin}/user_web2.css?v=${v}" />
<script type="text/javascript"
	src="${path }/js/jquery1.10.2.min.js?v=${v}"></script>
<script type="text/javascript" src="${path }/js/v1.min.js?v=${v}"></script>
<title>${configUtil.sitename}-资金记录</title>
</head>

<body>
	<!-- head -->
	<c:import url="../../include/top.jsp"></c:import>

	<div class="wrap">
		<div class="blank"></div>
		<div class="user_nav f_l mr5">
			<c:import url="../left.jsp"></c:import>
		</div>
		<div class="user_right f_l">
			<!--private js&css start-->
			<div class="user_right_box">
				<div class="user_title">
					<h1>
						<i class="ico_jilu"></i>资金记录
					</h1>
				</div>
				<form id="search" action='/account/money' method="get">
					<div class="screening clearfix">
						<div class="select_box" data-name="log_info">
							<div class="j_select"></div>
							<ul class="select_ul none j_selectContent">
								<li data-value="三天以内">三天以内</li>
								<li data-value="一周以内">一周以内</li>
								<li data-value="一个月以内">一个月以内</li>
								<li data-value="三个月以内">三个月以内</li>
							</ul>
						</div>
						<div class="sel_time">
							<span style="padding-left: 100px;">时间</span> <input type="text"
								class="time_box" id="dateInput1" name="start" value="">&nbsp;&nbsp;&nbsp;-
							<input type="text" class="time_box j_date" id="dateInput2"
								name="end" value="">
						</div>
						<input type="submit" name="export" value="导出"
							class="color-blue1 fr"
							style="text-decoration: underline; margin: 10px 0px 0px 20px; border: none; background: none; font-size: 14px;">
						<span style="padding-left: 5px;" class="fr">&nbsp;</span> <input
							type="submit" value="筛选" class="button_shaixian fr">
					</div>
				</form>
				<style>
.yqjilu thead tr {
	border-bottom: 1px solid #e5e5e5;
}
</style>
				<c:if test="${fn:length(myAccountLogList) > 0}">
					<table class="yqjilu">
						<colgroup>
							<col width="100">
							<col width="150">
							<col width="100">
							<col width="120">
							<col width="80">
						</colgroup>
						<thead>
							<tr>
								<th>时间</th>
								<td>金额</td>
								<td>交易形式</td>
								<td>交易后可用余额(元)</td>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${myAccountLogList}" var="accountLog"
								varStatus="vstatus">
								<c:choose>
									<c:when test="${vstatus.index%2 == 0}">
										<tr class="tr_bg">
											<th><fmt:formatDate value="${accountLog.createTime}"
													type="both" pattern="yyyy/MM/dd hh:mm:ss" /></th>
											<td>￥${accountLog.money/100}</td>
											<td>${accountLog.tradeMode.text}</td>
											<td>￥${accountLog.remnantBaseMoney/100 - accountLog.remnantFreezeMoney/100}</td>
										</tr>
									</c:when>
									<c:otherwise>
										<tr>
											<th><fmt:formatDate value="${accountLog.createTime}"
													type="both" pattern="yyyy/MM/dd hh:mm:ss" /></th>
											<td>￥${accountLog.money/100}</td>
											<td>${accountLog.tradeMode.text}</td>
											<td>￥${accountLog.remnantBaseMoney/100 - accountLog.remnantFreezeMoney/100}</td>
										</tr>
									</c:otherwise>
								</c:choose>
							</c:forEach>
						</tbody>
					</table>
				</c:if>
			</div>
			<c:if test="${fn:length(myAccountLogList) <= 0}">
				<section>
					<div class="project clearfix u_zijin">
						<div class="pro_detailed clearfix">

							<div class="empty-box">没有记录</div>
						</div>
					</div>
				</section>
			</c:if>
		</div>

		<div class="blank"></div>

	</div>

	<c:import url="../../include/foot.jsp"></c:import>
</body>
</html>